package com.ruoyi.warning.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 硬盘录像机表
 * </p>
 *
 * @author chenhc
 * @since 2025-09-30
 */
@Getter
@Setter
@TableName("warning_encode")
public class Encode implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    private String indexCode;

    /**
     * 关联的配置id
     */
    private String settingId;

    /**
     * 设备名称
     */
    private String name;

    /**
     * 设定的设备名称
     */
    @TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
    private String sysName;

    /**
     * 在线状态
     */
    private String onlineStatus;

    /**
     * 区域名称
     */
    private String regionPathName;

    private String ip;
    @TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
    private String port;
    @TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
    private String user;
    @TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
    private String password;
}
